<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>Power Droid Tools</title>
    <link href="/media/css/main.css" type="text/css" rel="stylesheet" />
  </head>
  <body>
    <div class="container">
      <div id="header" class="container">
        <h1>Power Droid Tools</h1>
      </div>
      <div id="wrapper" class="container">
        <div id="content" class="container">
<p>
These are the commandline tools available with Power Droid. Some may be
run on any host, others must be run on a controller with the appropriate
hardware.
</p>

<table>
 <caption>Tools</caption>
 <thead>
 <tr>
    <th>Name</th>
    <th>Description</th>
 </tr>
 </thead>
 <tbody>
  <tr>
    <td><a href="adbsh.html">adbsh</a></td>
    <td>Interactive command shell for Android.</td>
  </tr>
  <tr>
    <td><a href="pdish.html">pdish</a></td>
    <td>Interactive shell for instrument control.</td>
  </tr>
  <tr>
    <td><a href="pdmail.html">pdmail</a></td>
    <td>Send simulated email discussions at a specific rate.</td>
  </tr>
  <tr>
    <td><a href="pdmeasure.html">pdmeasure</a></td>
    <td>Start a measurement cycle using any instrument.</td>
  </tr>
  <tr>
    <td><a href="pdmodem.html">pdmodem</a></td>
    <td>Interactive GSM modem control.</td>
  </tr>
  <tr>
    <td><a href="pdpowercycle.html">pdpowercycle</a></td>
    <td>Power cycle the DUT (using the external power supply).</td>
  </tr>
  <tr>
    <td><a href="pdreport.html">pdreport</a></td>
    <td>Generate various reports and plots from current and voltage data.</td>
  </tr>
  <tr>
    <td><a href="pdstoraged.html">pdstoraged</a></td>
    <td>Configuration storage server.</td>
  </tr>
  <tr>
    <td><a href="pdtestrun.html">pdtestrun</a></td>
    <td>Run Power Droid test cases.</td>
  </tr>
  <tr>
    <td><a href="pdusb.html">pdusb</a></td>
    <td>Control the USB connection to the DUT (on or off).</td>
  </tr>
 </tbody>
</table>

<h3>Interactive Tools</h3>
<p>
Some of these utilities are interactive tools that provide a command
prompt. Each of these work in a similar way, but each will also provide
unique functionality for each object that is interacted with.
</p>
<p>
Most interactive commands share a common set of commands. Two important
ones are <i>get</i> and <i>set</i>, which get and set properties of the
object. Some objects support the <i>show</i> command that displays information
about itself, and some also support <i>ls</i> that lists properties of the
object.
</p>

<dl>
<dt>get &lt;name&gt;</dt>
<dd>Gets and prints the named attribute.</dd>

<dt>set [-t &lt;type&gt;] &lt;name&gt; &lt;value&gt;</dt>
<dd>Sets the named attribute to a new value. The value will be
converted into a likely suspect, but you can specify a type with
the -t flag.  </dd>

<dt>show [&lt;name&gt;]</dt>
<dd>Shows a named attribute of the object, or the object itself if no argument given.</dd>

<dt>ls</dt>
<dd>Display a list of the wrapped objects attributes and their types.</dd>
</dl>

        </div>
      </div>
      <div id="navigation" class="container">
        <table>
          <tbody>
            <tr>
              <td>
               <a href="/">Home</a>
              </td>
            </tr>
            <tr>
              <td>
               <a href="software.html">Software</a>
              </td>
            </tr>
            <tr>
              <td>
               <a href="/docs/">API Docs</a>
              </td>
            </tr>
            <tr>
              <td>
               <a href="/docs/testcases/">Testcase Docs</a>
              </td>
            </tr>
          </tbody>
        </table>
      </div>
      <div id="extra" class="container"></div>
      <div id="footer" class="container"></div>
    </div>
  </body>
</html>
